/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package day01;

import java.util.Scanner;

/**
 * @author Administrator
 */
public class CarTest {
    public static void main(String[] args){
        Scanner s = new Scanner(System.in);
        System.out.println("Please enter model Number:");
        int modelNum = s.nextInt();
        System.out.println("Please enter color of car:");
        String color = s.next();
        System.out.println("Please enter make of car:");
        String make = s.next();        
        
        Car t = new Car(modelNum,color,make);
        System.out.println(t);        
        t.drive();
        
    
    }
    
}
